package tp3;

import java.io.Serializable;

/* Classe para simular 'pair' de C++ */
public class Pair<T1, T2> implements Serializable{
    private T1 first;
    private T2 second;
    
    public Pair(T1 f, T2 s){
        first = f;
        second = s;
    }

    public T1 getFirst(){
        return first;
    }
    public T2 getSecond(){
        return second;
    }
    public void setFirst(T1 f){
        first = f;
    }
    public void setSecond(T2 s){
        second = s;
    }
}
